export function getToken() {
  return localStorage.token
}

export function setToken(token) {
  return localStorage.token = token
}

export function removeToken() {
  return localStorage.removeItem('token')
}

export function setPerm(perm) {
  return localStorage.perm = perm
}

export function getPerm() {
  return localStorage.perm
}

export function removePerm() {
  return localStorage.removeItem('perm')
}